/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package by.vdl.websort.util;

import by.vdl.websort.server.entity.UserDTO;

/**
 *
 * @author zeor
 */
public class UserUtils {
    
    public static String getHash(UserDTO userDTO){
        StringBuilder sb = new StringBuilder();
        sb.append(userDTO.getName().hashCode());
        sb.append(userDTO.getPassword().hashCode());
        sb.append(userDTO.getIp().hashCode());
        
        return sb.toString();
    };
    
}
